package org.example.pojo;

public class Building {
    private int buildingno = 0;
    private String buildingname = "";

    public Building() { }

    public Building(int buildingno, String buildingname) {
        this.buildingno = buildingno;
        this.buildingname = buildingname;
    }

    public int getBuildingno() {
        return buildingno;
    }

    public void setBuildingno(int buildingno) {
        this.buildingno = buildingno;
    }

    public String getBuildingname() {
        return buildingname;
    }

    public void setBuildingname(String buildingname) {
        this.buildingname = buildingname;
    }

    @Override
    public String toString() {
        return "Building{" +
                "buildingno=" + buildingno +
                ", buildingname='" + buildingname + '\'' +
                '}';
    }
}
